Skip to content

Conversation

@VsevolodX
Copy link
Member

No description provided.

x0(1)=0.0, x0(2)=0.0, x0(3)=0.0, ! line origin (alat units)
e1(1)=0.0, e1(2)=0.0, e1(3)=1.0, ! direction along z (alat units)
nx = 200 ! samples along the line
/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check formatting for other pp files and match

# ---------------------------------------------------------------- #
import json

from munch import Munch
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's explain why this is needed and put a task to remove the use of it

flavorName: plot_wavefunction
name: plot WFN
results:
- name: potential_profile
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove


# Create potential_profile JSON for platform rendering
wavefunction_data = {
"name": "potential_profile",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wavefunction_amplitude

Base automatically changed from feature/SOF-7784 to main January 12, 2026 00:53
results:
- file_content
- 'workflow:pyml_predict'
- potential_profile
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

execName: python
flavorName: extract_bands_fermi
name: extract_bands_fermi
flowchartId: extract-band-fermi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extract-bands-fermi? here and below

prefix = '__prefix__'
plot_num = 7
kpoint = 1
kband = {% raw %}{{ KBAND_VALUE }}{% endraw %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can set default value to 1

}

# Print to STDOUT for subsequent assignment unit
print(json.dumps(result, indent=4))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be template, it can be an assignment unit or split into multiple assignment units

}

# Print JSON to STDOUT (will be captured as potential_profile result)
print(json.dumps(wavefunction_data, indent=2))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove 33-49 - it should be defined as a separate property

# #
# ------------------------------------------------------------------ #

munch==2.5.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants